Test Case Generation and Prioritization Based on Uml Behavioral Models

نویسنده

  • PRASAD MOHAPATRA
چکیده

Test case prioritization (TCP) techniques have been proven to be beneficial for improving testing activities. Prioritized test suites are found using different techniques of prioritization. While code coverage based prioritization techniques are found to be used by most scholars, test case prioritization based on UML behavioral models has not been given much attention so far. We propose a novel approach for generating and prioritizing test cases using UML sequence and interaction overview diagrams. First, we convert the interaction overview diagram to interaction Graph (IG) and sequence diagram to Message Sequence Dependency Graph (MSDG). An intermediate graph known as Sequence Interaction Graph (SIG) is generated by combining MSDG and IG. From SIG, we generate the test scenarios and subsequently the test cases. For test case prioritization, the first task is to convert the SIG into another graph known as Dependency Graph (DG). Then, we assign weights to each node of the DG according to its impact using backward slices and based on condition criticality. Further, we calculate the weights of each basic path. According to these weights, finally, we prioritize the test cases. We have used the impact, complexity and criticality of the elements present in the model for the prioritization of test cases. The results obtained by our approach indicates that the proposed technique is efficient and effective in prioritizing (ordering) the test cases using UML models. Our proposed approach achieves higher Average Percentage of Fault Detection (APFD) compared to other related approaches.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Model-level Automatic Test Generation for Uml Statecharts

We present a framework for model-level testing of behavioral UML models. For automatic test generation, we use planner algorithms to deal with the complexity of UML models. Our approach is characterized by an automatic and metamodeldriven transformation from UML statecharts to a tool independent representation of planner algorithms from which the input language of concrete planner tools can be ...

متن کامل

Test Case Generation from Behavioral UML Models

We propose an integrated approach to generate test cases from UML sequence and activity diagrams. We first transform these UML diagrams into a graph. Then, we propose an algorithm to generate test scenarios from the constructed graph. Next, the necessary information for test case generation, such as method-activity sequence, associated objects, and constraint conditions are extracted from test ...

متن کامل

A Survey on Test Case Generation from UML Model

Testing is an important phase of software development, to maintain the quality control and reliability of the end products. Recent approach has been taken by the researcher to use UML models for test case generation. Various works has been done on test case generation for concurrent and nonconcurrent systems. In case of concurrent system group of activities are executed simultaneously where as ...

متن کامل

Efficient test case generation for validation of UML activity diagrams

Unified Modeling Language (UML) is widely used as a system level specification language in embedded system design. Due to the increasing complexity of embedded systems, the analysis and validation of UML specifications is becoming a challenge. UML activity diagram is promising to modeling the overall system behavior. However, lack of techniques for automated test case generation is one major bo...

متن کامل

A Specification-Based Test Case Generation Method for UML/OCL

Automated test data generation is an important method for the verification and validation of UML/OCL specifications. In this paper, we present an extension of DNF-based test case generation methods to class models and recursive query operations on them. A key feature of our approach is an implicit representation of object graphs avoiding a representation based on object-id’s; thus, our approach...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015